package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.masa.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_BASE_PERSON_INFO")
@ApiModel(value = "人员信息表")
public class BasePersonInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "海关员工号")
    @TableField(value = "USER_NO")
    @JsonProperty(value = "userno")
    private String userno;


    @ApiModelProperty(value = "人员姓名")
    @TableField(value = "USER_NAME")
    @JsonProperty(value = "username")
    private String username;


    @ApiModelProperty(value = "人员的职务")
    @TableField(value = "DUTY_POST")
    @JsonProperty(value = "dutypost")
    private String dutypost;


    @ApiModelProperty(value = "电话号码（手机长号）")
    @TableField(value = "PHONE")
    @JsonProperty(value = "phone")
    private String phone;


    @ApiModelProperty(value = "电话号码（手机短号）")
    @TableField(value = "PHONE_SHORT")
    @JsonProperty(value = "phoneShort")
    private String phoneShort;


    @ApiModelProperty(value = "电话号码（座机）")
    @TableField(value = "PHONE_LAND")
    @JsonProperty(value = "phoneLand")
    private String phoneLand;


    @ApiModelProperty(value = "人员头像文件的存储地址")
    @TableField(value = "FACE_PATH", exist = false)
    @JsonProperty(value = "facePath")
    private String facePath;


    @ApiModelProperty(value = "H4A的部门GUID")
    @TableField(value = "DEPT_ID")
    @JsonProperty(value = "deptId")
    private String deptId;


    @ApiModelProperty(value = "fullPersonNameWithPersonId")
    @TableField(exist = false)
    @JsonProperty(value = "fullPersonNameWithPersonId")
    private String fullPersonNameWithPersonId;


    @ApiModelProperty(value = "H4A的级别编码")
    @TableField(value = "RANK_CODE")
    @JsonProperty(value = "rankCode")
    private String rankCode;

    @ApiModelProperty(value = "H4A的用户GUID")
    @TableField(value = "USER_GUID")
    private String userGuid;

    @ApiModelProperty(value = "H4A中该数据条目的父级GUID")
    @TableField(value = "PARENT_GUID")
    private String parentGuid;

    @ApiModelProperty(value = "H4A中人员的实际级别编码")
    @TableField(value = "REAL_RACK_CODE")
    private String realRackCode;

    @ApiModelProperty(value = "H4A中是否有兼职：0. 否；1. 是")
    @TableField(value = "SIDE_LINE")
    private String sideLine;

    @ApiModelProperty(value = "关区GUID，源自H4A")
    @TableField(value = "CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customId;

    @ApiModelProperty(value = "关区中文名称")
    @TableField(value = "CUSTOM_NAME")
    @JsonProperty(value = "customName")
    private String customName;

    @ApiModelProperty(value = "排序，用于调整数据顺序")
    @TableField(value = "GLOBAL_SORT")
    @JsonProperty(value = "globalSort")
    private String globalSort;

}
